package aceona.api.weibo.sina;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Tools {
	private static Pattern pattern;
	private static Matcher matcher;
	
	public static String getResult(String regx, String matcherStr){
		pattern = Pattern.compile(regx);
		matcher = pattern.matcher(matcherStr);
		if(matcher.find()){
			return matcher.group(1);
		}
		return "";
	}
}
